package com.lee.chain.service.impl;

import com.lee.chain.service.AbstractLoggerHandler;
import org.springframework.stereotype.Component;

import java.util.UUID;

/**
 * @author zfl_a
 * @date 2020/8/11
 * @project springboot_design_pattern
 */
@Component
public class ErrorLoggerHandler extends AbstractLoggerHandler {

   public ErrorLoggerHandler(){
       this.level = 2 ;
   }

    @Override
    protected void saveLogMessage(String message) {
        System.out.println("Error: 错误日志输出...." + message);
        return ;
    }
}